package com.example.eduservice.service;

import com.example.common.commonsutils.R;
import com.example.eduservice.service.fallback.FeignServiceFallback;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author:tjf
 * @Description:
 */
@FeignClient(name = "service-vod", fallback = FeignServiceFallback.class)
public interface FeignService {
    @DeleteMapping("/vodservice/{videoId}")
    R removeVideoById(@PathVariable("videoId") String videoId);
}
